<div class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" id="permission">
    <div class="modal-dialog">
        <div class="modal-content list-table">
            <div class="modal-header">
            	<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">权限列表</h4>
            </div>
            <div class="modal-body">
            	<!-- <div class="modal-body-header">
           			<div class="input-group mar">
           				<button type="button" class="btn btn-primary pull-left confirm-del-btn" data-dismiss="modal">
           					<span class="glyphicon glyphicon-resize-vertical"></span>关联
           				</button>
                		<input type="text" class="form-control pull-right" placeholder="输入用户名,昵称，邮箱，手机号码">
                		<span class="input-group-addon ">
                			<span class="glyphicon glyphicon-search"></span>检索
                		</span>
            		</div>   
            	</div> -->
                <!-- <div class="table-margin"> -->
                    <table class="table table-bordered table-header">
                        <thead>
                            <tr>
                            	<td class="w15 text-center">
                                    <input type="checkbox" 
                                           ng-model="perBool" 
                                           ng-click="selectAll(perBool, permissionVal)"
                                           >
                               	</td>
                                <td class="w85 text-left">权限名称</td>
                            </tr>
                        </thead>

                        <tbody id="personal-user-tbody">
                            <tr ng-repeat="val in permissionVal" ng-class="{'active':$index%2!=0}">
                             	<td class="text-center">
                                    <!-- <input type="checkbox" 
                                           ng-checked="{ true: perBool, false: sonBool }[isChecked]"
                                           ng-click="select(val,sonBool,$index)"
                                           ng-model="sonBool" 
                                           > -->
                                    <input type="checkbox"
                                           ng-checked="{ true : perBool, false : isSelected(val.operationId, val.operationName) }[isChecked]"
                                           ng-click="select(val,sonBool,perBool)"
                                           ng-model="sonBool" 
                                           >
                                </td>
                                <td class="text-left myCheckbox">{{ val.operationName }}</td>
                            </tr> 
                            <tr>
                                <td class="text-center hidden" id="personal-user-tbody-no-data" colspan="12">暂无数据</td>
                            </tr>
                        </tbody>

                        <!-- <tfoot>
                            <tr>
                                <td colspan="12">
                                    <div class="pull-right">
                                        <nav>
                                            <tm-pagination conf="paginationConf"></tm-pagination>
                                        </nav>
                                    </div>
                                </td>
                            </tr>
                        </tfoot> -->

                    </table>

                    <div class="col-sm-12">
                        <div class="modal-footer">
                            <button type="button" 
                                    class="btn btn-default" 
                                    data-dismiss="modal"
                                    >取消
                            </button>
                            <button type="button" 
                                    class="btn btn-primary" 
                                    data-dismiss="modal"
                                    ng-click="submitAssociated()"
                                    >确定
                            </button>
                        </div>
                    </div>  

                <!-- </div>             -->
            </div>
        </div>
    </div>
</div>